import 'dart:io';

import 'package:permission_handler/permission_handler.dart';

class PermissionUtils {
 static Permission? get fileRead {
    Permission? permission;
    if (Platform.isAndroid) {
        permission = Permission.storage;
    } else if (Platform.isIOS) {
      // iOS：相册权限（对应照片/视频目录）
      permission = Permission.photos;
    }
    
    return permission;
 }
}